package com.czwx.bee.business.manager.modular.cloanuser.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Author:wiki
 * @Date:Create in 2018/7/5 0005 下午 4:53
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="CloanUserDto",description="用户列表-用户模型")
public class CloanUserDto {

    @ApiModelProperty(value="id")
    private Long id;

    @ApiModelProperty(value="电话")
    private String phone;

    @ApiModelProperty(value="真实姓名")
    private String realName;

    @ApiModelProperty(value="身份证号")
    private String idNo;

    @ApiModelProperty(value="学历")
    private String education;

    @ApiModelProperty(value="注册时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date registTime;

//    @ApiModelProperty(value="注册客户端")
//    private String registerClient;
//
//    @ApiModelProperty(value="注册渠道")
//    private String channelName;

    @ApiModelProperty(value="省")
    private String liveProvince;

    @ApiModelProperty(value="市")
    private String liveCity;

    @ApiModelProperty(value="区")
    private String liveArea;

    @ApiModelProperty(value="状态")
    private Integer state;

}
